package cn.pegasus.teamword.vo;

import java.io.Serializable;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class WmpInfoVo implements Serializable {

	private static final long serialVersionUID = -7147037898535747067L;
	private String userId;
	private long creditid;
	private int bidid;
	private float bidamount;
	private String name;
	private String createtime;
	private Date createTime;
	private String repaymentdate;
	private Date repaymentDate;
	private String creditstatusname;
	private String datetype;
	private String deadline;
	private String mobile;
	/**
	 * @return the mobile
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * @param mobile the mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}
	/**
	 * @param userId the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}
	/**
	 * @return the creditstatusname
	 */
	public String getCreditstatusname() {
		return creditstatusname;
	}
	/**
	 * @param creditstatusname the creditstatusname to set
	 */
	public void setCreditstatusname(String creditstatusname) {
		this.creditstatusname = creditstatusname;
	}
	/**
	 * @return the deadline
	 */
	public String getDeadline() {
		return deadline;
	}
	/**
	 * @param deadline the deadline to set
	 */
	public void setDeadline(String deadline) {
		this.deadline = deadline;
	}
	private float creditrate;
	
	
	/**
	 * @return the createtime
	 */
	public String getCreatetime() {
		return createtime;
	}
	/**
	 * @param createtime the createtime to set
	 */
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
		if(null!=createtime && !"".equals(createtime)){
			SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
			try {
				createTime = format.parse(createtime);
			} catch (ParseException e) {
				e.printStackTrace();
			}
		}
	}
	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the repaymentdate
	 */
	public String getRepaymentdate() {
		return repaymentdate;
	}
	/**
	 * @param repaymentdate the repaymentdate to set
	 */
	public void setRepaymentdate(String repaymentdate) {
		this.repaymentdate = repaymentdate;
		if(null!=repaymentdate && !"".equals(repaymentdate)){
			SimpleDateFormat format = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
			try {
				repaymentDate = format.parse(repaymentdate);
			} catch (ParseException e) {
				e.printStackTrace();
			}
		}
	}
	/**
	 * @return the repaymentDate
	 */
	public Date getRepaymentDate() {
		return repaymentDate;
	}
	/**
	 * @param repaymentDate the repaymentDate to set
	 */
	public void setRepaymentDate(Date repaymentDate) {
		this.repaymentDate = repaymentDate;
	}
	private String creditstatusName;
	
	/**
	 * @return the creditid
	 */
	public long getCreditid() {
		return creditid;
	}
	/**
	 * @param creditid the creditid to set
	 */
	public void setCreditid(long creditid) {
		this.creditid = creditid;
	}
	/**
	 * @return the bidid
	 */
	public int getBidid() {
		return bidid;
	}
	/**
	 * @param bidid the bidid to set
	 */
	public void setBidid(int bidid) {
		this.bidid = bidid;
	}
	/**
	 * @return the bidamount
	 */
	public float getBidamount() {
		return bidamount;
	}
	/**
	 * @param bidamount the bidamount to set
	 */
	public void setBidamount(float bidamount) {
		this.bidamount = bidamount;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	
	/**
	 * @return the datetype
	 */
	public String getDatetype() {
		return datetype;
	}
	/**
	 * @param datetype the datetype to set
	 */
	public void setDatetype(String datetype) {
		this.datetype = datetype;
	}
	
	/**
	 * @return the creditstatusName
	 */
	public String getCreditstatusName() {
		return creditstatusName;
	}
	/**
	 * @param creditstatusName the creditstatusName to set
	 */
	public void setCreditstatusName(String creditstatusName) {
		this.creditstatusName = creditstatusName;
	}
	
	/**
	 * @return the creditrate
	 */
	public float getCreditrate() {
		return creditrate;
	}
	/**
	 * @param creditrate the creditrate to set
	 */
	public void setCreditrate(float creditrate) {
		this.creditrate = creditrate;
	}

}
